#include <sys_head.h>


int main(int argc, char const *argv[])
{
    unsigned int ip = inet_addr(argv[1]);
    printf("%d" , ip);

    struct in_addr addr;
    addr.s_addr = inet_addr(argv[1]);
    char buf_ip[128];
    strcpy( buf_ip , inet_ntoa(addr));

    printf("%s\n", buf_ip);
    return 0;
}






